package MusicPlayerAutoTest;

import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;

import java.util.List;
import java.util.Set;

public class OpenAndCloseBrowser {
     static WebDriver webDriver;
     @BeforeAll
     static void  openBrowser() {
          webDriver = new ChromeDriver();
     }

     @AfterAll
     static void closeBrowser() {
          webDriver.quit();
     }
}
